package cn.buildworld.mapper;

import cn.buildworld.pojo.po.OsProductRecommend;
import cn.buildworld.pojo.po.OsProductRecommendExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OsProductRecommendMapper {
    int countByExample(OsProductRecommendExample example);

    int deleteByExample(OsProductRecommendExample example);

    int deleteByPrimaryKey(Long recommendProductId);

    int insert(OsProductRecommend record);

    int insertSelective(OsProductRecommend record);

    List<OsProductRecommend> selectByExample(OsProductRecommendExample example);

    OsProductRecommend selectByPrimaryKey(Long recommendProductId);

    int updateByExampleSelective(@Param("record") OsProductRecommend record, @Param("example") OsProductRecommendExample example);

    int updateByExample(@Param("record") OsProductRecommend record, @Param("example") OsProductRecommendExample example);

    int updateByPrimaryKeySelective(OsProductRecommend record);

    int updateByPrimaryKey(OsProductRecommend record);
}